package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author ccc
 * @since 2023-11-15 21:20:21
 */
@Data
@TableName("farm_plant_land")
public class FarmPlantLand {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer farmPlantId;

    private Integer landId;

    public FarmPlantLand() {
    }

    public FarmPlantLand(Integer id, Integer farmPlantId, Integer landId) {
        this.id = id;
        this.farmPlantId = farmPlantId;
        this.landId = landId;
    }

    public FarmPlantLand(Integer farmPlantId, Integer landId) {
        this.farmPlantId = farmPlantId;
        this.landId = landId;
    }
}